home *** CD-ROM | disk | FTP | other *** search
- #include "comment.header"
-
- #import "ClickCell.h"
- #import "GoApp.h"
-
- #import <appkit/Text.h>
- #import <appkit/Font.h>
- #import <appkit/Window.h>
- #import <appkit/Application.h>
-
- #import <stdio.h>
-
- @implementation ClickCell
-
- -(BOOL) trackMouse:(NXEvent *)theEvent inRect:(const NXRect *)cellFrame ofView:controlView
- {
- [NXApp cellClicked:self];
-
- return YES;
- }
-
- - initTextCell:(const char *)aString
- {
- self = [super initTextCell:aString];
- [self setFont:[Font newFont:"Helvetica" size:17]];
- [self setBackgroundGray:NX_LTGRAY];
- [self setBezeled:YES];
- [self setAlignment:NX_LEFTALIGNED];
- return self;
- }
- @end
-